@import '../../var';
page {
    background-color: $bgcolor-gray;
}

.page {
    padding-bottom: 120rpx;
}

.images {
    position: relative;
    width: 100%;
    height: 375rpx;
    .show {
        display: block;
    }
    .hidden {
        display: none;
    }
    .bg {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        color: #b3b3b3;
        font-size: 30rpx;
        background: #ededed;
        image {
            &.cam {
                width: 48rpx;
                height: 40rpx;
                margin-right: 18rpx;
            }
        }
    }
    .logo {
        position: absolute;
        bottom: -15rpx;
        left: 35rpx;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 140rpx;
        height: 140rpx;
        color: #b3b3b3;
        font-size: 26rpx;
        background: #ededed;
        border: 7rpx solid #fff;
        border-radius: 14rpx;
    }
}

.form {
    box-sizing: border-box;
    .input {
        padding: 30rpx;
        background: #fff;
        &.picker {
            margin-top: 15rpx;
            padding-top: 0;
            padding-bottom: 0;
            // & .section {
            //   border-bottom: none;
            // }
        }
    }
    .section {
        padding: 30rpx 0rpx;
        .name {
            font-weight: 700;
            font-size: 36rpx;
        }
        textarea {
            font-size: 30rpx;
            width: 100%;
        }
        .des {
            height: 80rpx;
        }
        .input-name-placeholder {
            color: rgba(204, 204, 204, 1);
            font-weight: 500;
            font-size: 36rpx;
        }
        .textarea-name-placeholder,
        .gender-placeholder,
        .permission-placeholder {
            color: $decor-color;
            font-weight: 400;
            font-size: 30rpx;
        }
        .permission-placeholder {
            color: #1a1a1a;
            font-weight: 500;
        }
        & .picker-slot {
            display: flex;
            align-items: center;
            justify-content: space-between;
            & .picker-option {
                display: flex;
                justify-content: space-between;
                width: 100%;
                & .picker {
                    padding-right: 20rpx;
                    color: $decor-color;
                }
            }
        }
        .price {
            display: flex;
            align-items: center;
            color: $title-color;
            input {
                margin-right: 10rpx;
                text-align: right;
            }
        }
    }
}

.submits {
    position: fixed;
    bottom: 0;
    display: flex;
    align-items: center;
    width: 100%;
    height: 100rpx;
    background-color: #fff;
    & button {
        width: 690rpx;
        height: 70rpx;
        color: #333;
        font-weight: 700;
        background-color: $primary-color;
        &[disabled]:not([type]) {
            background-color: #e4e5e5;
        }
    }
}

.second {
    margin-top: 20rpx;
    padding: 30rpx;
    background-color: #fff;
    .title {
        width: 100%;
        color: $title-color;
        font-size: 30rpx;
    }
    .type {
        display: grid;
        grid-gap: 10rpx 10rpx;
        grid-template-columns: repeat(auto-fill, 130rpx);
        width: 100%;
        margin-top: 20rpx;
        .item {
            width: 130rpx;
            height: 44rpx;
            color: $title-color;
            font-size: 20rpx;
            line-height: 44rpx;
            text-align: center;
            background-color: $bgcolor-gray;
            border-radius: 8rpx;
        }
        .active {
            color: $primary-color;
            background-color: rgba($color: $primary-color, $alpha: 0.15);
        }
    }
}

.bottom {
    z-index: 100;
}

.borderBtom {
    border-bottom: 1rpx solid $border-color;
}

.list {
    display: flex;
    align-items: center;
    justify-content: space-between;
    .right {
        display: flex;
        flex: 1;
        color: $decor-color;
        align-items: center;
        justify-content: flex-end;
        image {
            margin-left: 20rpx;
        }
    }
}

switch {
    zoom: 0.7;
}

.nopadding {
    padding: 0 30rpx;
}